List your Training

Retrieves all the Training (Registrations or Learning Path Registrations) you are assigned to.

query registerables {
  registerables {
    edges {
      node {
        ...Registerable
      }
    }
  }
}

fragment Registerable on Registerable {
  id
  title
  lastAccessed
  isActive
  ... on Registration {
    expiry
    totalPiecesOfContent
    completedPiecesOfContent
    hasPassed
    attendance {
      sessionsAttended
      sessionsMissed
      totalSessions
    }
    course {
      id
      title
      learningMode
      location {
        id
        name
      }
      start
      end
      lmsStart
      lmsEnd
      imageUrl
      categories {
        edges {
          node {
            id
            name
          }
        }
      }
      allowedMissedSessions
    }
  }
  ... on LearningPathRegistration {
    progressMade
    expectedProgress
    trainingPassTypeId
    startDate
    lifecycleState
    learningPath {
      id
      name
      longDescription
      imageUrl
      start
      end
    }
  }
}